package com.moonfish.base.security;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * Created by mayu on 20.03.16.
 *email:showmara@qq.com
 */
@Data
@ApiModel(description = "token实体")
public class JwtAuthenticationResponse implements Serializable {

    private static final long serialVersionUID = 1250166508152483573L;
    @ApiModelProperty(value = "token",required = true)
    private final String token;

    public JwtAuthenticationResponse(String token) {
        this.token = token;
    }
}
